package com.enjoyor.soa.traffic.api.dto;

import java.io.Serializable;

import com.enjoyor.soa.traffic.util.enums.EnumNotifyObject;
import com.enjoyor.soa.traffic.util.enums.EnumOprType;

public class MessageInfoDto implements Serializable {

    /**
     * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
     */

    private static final long serialVersionUID = 1L;
    private EnumOprType msgType;
    private Object object;
    private EnumNotifyObject objectName;

    public MessageInfoDto() {

    }

    public MessageInfoDto(EnumOprType msgType, Object object, EnumNotifyObject objectName) {
        this.msgType = msgType;
        this.object = object;
        this.objectName = objectName;
    }

    public EnumOprType getMsgType() {
        return msgType;
    }

    public void setMsgType(EnumOprType msgType) {
        this.msgType = msgType;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }

    public EnumNotifyObject getObjectName() {
        return objectName;
    }

    public void setObjectName(EnumNotifyObject objectName) {
        this.objectName = objectName;
    }
}
